//
//  registView.h
//  SmartHome
//
//  Created by 赵嘉诚 on 15/3/13.
//  Copyright (c) 2015年 赵嘉诚. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "defineHead.h"

@class registView;
@protocol createNewUser <NSObject>

@optional
- (int)newUserOfName:(NSString *)name andKey:(NSString *)key serverIP:(NSString *)serverIP port:(NSInteger)port serverId:(NSString *)serverId;
- (void)modalViewControllerDidClickedDismissButton:(registView *)viewController;

@end

@interface registView : UIViewController

@property (nonatomic, weak) id<createNewUser> delegate;

@end
